

#!/usr/local/bin/perl 

# minimal.cgi
# Copyright (C) 1995 Steven E. Brenner  
# $Header: /cys/people/brenner/http/docs/web/RCS/minimal.cgi,v 1.3 1996/03/29 21:48:08 brenner Exp $

# This is the minimalist comboform script to demonstrate the use of 
# the cgi-lib.pl library -- it needs only 6 orindary-length lines
# --
# This is NOT intended to be a "typical" script
# Note that it does not produce a valid HTML page (it is missing <head> etc.)
# Most importantly, the <form> key should normally have parameters  like
#  <form method=POST action="minimal.cgi">

require "cgi-lib.pl";
if (&ReadParse) {
   print &PrintHeader, &PrintVariables;
} else {
  print &PrintHeader,'<form><input type="submit">Data: <input name="myfield">';
}





